package cn.edu.sjtu.se.dslab.dao;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.EquipmentCategory;

/**
 * 
 * @author longshaohang
 * 
 */
public interface IEquipmentCategoryDao {
	
	public void save(EquipmentCategory category);

	public EquipmentCategory update(EquipmentCategory category);

	public EquipmentCategory queryById(long id);
	
	public EquipmentCategory queryByType(String type);
	
	public List<EquipmentCategory> queryAll();
}
